/**
 * 公共
 */
import { $axios } from "../request.js";
import prefix from "../base.js";

export default {
  //加载图片
  loadImage(data) {
    return $axios(`${prefix.common}/loadImage`, data);
  },
  //上传
  upload(data) {
    return $axios(`${prefix.common}/upload`, data, "POST");
  },
};
